<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of M
 *
 * @author Albadr
 */
class M extends CI_Controller{
    
    /**
     * Return a document inJSON format
     * @param type $noDoc
     * @return type 
     */
    public function content($noDoc='') {
       $noDoc=(int)$noDoc;
       $this->load->model('missparse');
       $CONTENT=$this->missparse->find_document($noDoc);
       print_r($CONTENT);
   }
    
}

?>
